Optimal. Leaf size=101 \[ \frac {b \sqrt {a^2+2 a b x+b^2 x^2} (d+e x)^{m+2}}{e^2 (m+2) (a+b x)}-\frac {\sqrt {a^2+2 a b x+b^2 x^2} (b d-a e) (d+e x)^{m+1}}{e^2 (m+1) (a+b x)} \]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 101, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.071, Rules used = {646, 43} \begin {gather*} \frac {b \sqrt {a^2+2 a b x+b^2 x^2} (d+e x)^{m+2}}{e^2 (m+2) (a+b x)}-\frac {\sqrt {a^2+2 a b x+b^2 x^2} (b d-a e) (d+e x)^{m+1}}{e^2 (m+1) (a+b x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 646
Rubi steps
\begin {align*} \int (d+e x)^m \sqrt {a^2+2 a b x+b^2 x^2} \, dx &=\frac {\sqrt {a^2+2 a b x+b^2 x^2} \int \left (a b+b^2 x\right ) (d+e x)^m \, dx}{a b+b^2 x}\\ &=\frac {\sqrt {a^2+2 a b x+b^2 x^2} \int \left (-\frac {b (b d-a e) (d+e x)^m}{e}+\frac {b^2 (d+e x)^{1+m}}{e}\right ) \, dx}{a b+b^2 x}\\ &=-\frac {(b d-a e) (d+e x)^{1+m} \sqrt {a^2+2 a b x+b^2 x^2}}{e^2 (1+m) (a+b x)}+\frac {b (d+e x)^{2+m} \sqrt {a^2+2 a b x+b^2 x^2}}{e^2 (2+m) (a+b x)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 59, normalized size = 0.58 \begin {gather*} \frac {\sqrt {(a+b x)^2} (d+e x)^{m+1} (a e (m+2)-b d+b e (m+1) x)}{e^2 (m+1) (m+2) (a+b x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.68, size = 0, normalized size = 0.00 \begin {gather*} \int (d+e x)^m \sqrt {a^2+2 a b x+b^2 x^2} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.42, size = 83, normalized size = 0.82 \begin {gather*} \frac {{\left (a d e m - b d^{2} + 2 \, a d e + {\left (b e^{2} m + b e^{2}\right )} x^{2} + {\left (2 \, a e^{2} + {\left (b d e + a e^{2}\right )} m\right )} x\right )} {\left (e x + d\right )}^{m}}{e^{2} m^{2} + 3 \, e^{2} m + 2 \, e^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.20, size = 184, normalized size = 1.82 \begin {gather*} \frac {{\left (x e + d\right )}^{m} b m x^{2} e^{2} \mathrm {sgn}\left (b x + a\right ) + {\left (x e + d\right )}^{m} b d m x e \mathrm {sgn}\left (b x + a\right ) + {\left (x e + d\right )}^{m} a m x e^{2} \mathrm {sgn}\left (b x + a\right ) + {\left (x e + d\right )}^{m} b x^{2} e^{2} \mathrm {sgn}\left (b x + a\right ) + {\left (x e + d\right )}^{m} a d m e \mathrm {sgn}\left (b x + a\right ) - {\left (x e + d\right )}^{m} b d^{2} \mathrm {sgn}\left (b x + a\right ) + 2 \, {\left (x e + d\right )}^{m} a x e^{2} \mathrm {sgn}\left (b x + a\right ) + 2 \, {\left (x e + d\right )}^{m} a d e \mathrm {sgn}\left (b x + a\right )}{m^{2} e^{2} + 3 \, m e^{2} + 2 \, e^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 62, normalized size = 0.61 \begin {gather*} \frac {\sqrt {\left (b x +a \right )^{2}}\, \left (b e m x +a e m +b e x +2 a e -b d \right ) \left (e x +d \right )^{m +1}}{\left (b x +a \right ) \left (m^{2}+3 m +2\right ) e^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.15, size = 62, normalized size = 0.61 \begin {gather*} \frac {{\left (b e^{2} {\left (m + 1\right )} x^{2} + a d e {\left (m + 2\right )} - b d^{2} + {\left (a e^{2} {\left (m + 2\right )} + b d e m\right )} x\right )} {\left (e x + d\right )}^{m}}{{\left (m^{2} + 3 \, m + 2\right )} e^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\left (d+e\,x\right )}^m\,\sqrt {a^2+2\,a\,b\,x+b^2\,x^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (d + e x\right )^{m} \sqrt {\left (a + b x\right )^{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________